<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
      .parent{
        width: 200px;
        height: 200px;
        background-color: skyblue;
        display:flex;
        /* flex-wrap: nowrap; */
        /* flex-wrap:wrap; */
        flex-wrap:wrap-reverse;
      }
      .parent div{
        width: 50px;
        height: 50px;
        background-color: green;
      }
      .parent .first{
        width: 60px;   
        /* 在不换行的情况下,实际显示的并不是60px,而是按照百分比分配(60/260)*200=46px */
      }

  </style>
</head>
<body>
  <div class="parent">
      <div class="first">1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
      <div>5</div>
  </div>
</body>
</html>